def make_album(singer_name,album_name,song_name=None):
    """返回歌手名和专辑名"""
    information={'singer_name':singer_name,'album_name':album_name}
    if song_name:
        information['song_name']=song_name
    return information
musician=make_album('周杰伦','JAY','可爱女人')
print(musician)


def make_album(singer_name,album_name):
    """返回歌手名和专辑名"""
    information=f'{singer_name},{album_name}'
    return information
while True:
    print('随时输入q退出')
    s_name=input('请输入歌手名：')
    if s_name == 'q':
        break
    a_name=input('请输入专辑名：')
    if a_name == 'q':
        break
    musician=make_album(s_name,a_name)
    print(musician)